package com.cmc.cloud.cmclink.doc.vo.specialcargoflexivo;

import com.cmes.framework.common.pojo.PageParam;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;

import static com.cmes.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

/**
 * 特种货审批flexi分页 Request VO
 *
 * @author codegen
 */
@Schema(description = "管理后台 - 特种货审批flexi分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class SpecialCargoFlexiPageReqVO extends PageParam {

    @Schema(description = "箱型ID", example = "11216")
    private Long cntrId;

    @Schema(description = "包装的最大容量（升 L）")
    private Integer capacityOfFlexitank;

    @Schema(description = "液袋货的体积（升 L）")
    private Integer volumeOfCargo;

    @Schema(description = "液体最多能装多少比例")
    private Integer loadingRatio;

    @Schema(description = "货物描述", example = "你猜")
    private String cargoDescription;

    @Schema(description = "生产厂家")
    private String nameOfManufacturer;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}
